﻿// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.

namespace SpeedBoot.Data.Abstractions;

public interface IDbContextProvider
{
    IDbContext? GetDbContext<TDbContext>()
        where TDbContext : IDbContext;

    IDbContext? GetDbContext(Type dbContextType);
}
